A substitute teacher in Leavenworth was dismissed from class after making a racist remark toward a student.